﻿@{
    ViewBag.Title = L("Ribbon_EditProfile");
}

@model User

@Html.TextBoxExFor(m => m.DisplayName, new
{
    data_val_remote = L(CreateUserStatus.DuplicateDisplayName),
    data_val_remote_url = Url.Action("CheckDisplayName"),
    data_val_remote_additionalfields = "*.DisplayName"
})

@Html.TextBoxExFor(mbox => mbox.Email, new
{
    data_val_email = L(CreateUserStatus.EmailInvalid),
    data_val_required = L(CreateUserStatus.EmailNotNull)
}) 
    
@Html.ButtonEx()

@section head{
    @Scripts.Render("~/scripts/jqueryval")
}